import { http } from '@/utils/http'

export function useSoftwareVersionApi() {
  return {
    // 获得软件实施-产品版本迭代记录
    getProductVersion(id: string) {
      return http.get<SoftwareVersionForm>('/prod-api/admin-api/project/product-version/get?id=' + id)
    },
    // 获得软件实施-产品版本迭代记录
    getProductVersionByProcess(id: string) {
      return http.get<SoftwareVersionForm>('/prod-api/admin-api/project/product-version/byProcessInstanceId?processInstanceId=' + id)
    }
  }
}
